
class B{
    @Override
    public String toString() {
        return "111";
    }
}



public class Tested {
    public static void main(String[] args) {
        B b = new B();
        System.out.println(new B());
        System.out.println(b);
    }

}
